<?php
namespace app\common\model;

use app\common\util\Random;
use think\Model;

class Order extends Model{
    //订单类型
    const VIDEO = 1;
    const TOPIC = 2;
    const VIP = 3;

    public static function createSN(){
        return date("YmdHis",time()).Random::rand(10);
    }
}